package com.study.djl.consumer.integration;

import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class RetHelloListener {

    @StreamListener(ProviderInt.RETURN_HELLO)
    public void listenRetHello(String name) {
        log.info("We've got return Hello [{}].", name);
    }
}
